package com.yin.myproject.design.proxydesign;

/**
 * 动态代理模式举例--真是角色:被告
 *
 * @author Eason
 * @create 2018-05-03 23:21
 **/
public class Defendant implements ILitigation {

    @Override
    public void litigation() {
        System.out.println("我是被告");
    }

    @Override
    public String toString() {
        return "被告";
    }
}
